<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="set-insurance-reminder.aspx.cs" MaintainScrollPositionOnPostback="true"
    Async="true" Inherits="car_insurance_set_insurance_reminder" Title="GluayGluay.com - Set Insurance Reminder" %>


<%@ Register Src="~/controls/usrNoJS.ascx" TagName="usrNoJS" TagPrefix="ucNoJS" %>
<%@ Register Src="~/controls/usrMobilePhone.ascx" TagName="usrMobilePhone" TagPrefix="uc2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cpBody" runat="Server">

    <script src="/includes/ValidationError.js" type="text/javascript"></script>

    <script src="/includes/ValidationEffect.js" type="text/javascript"></script>

    <script src="/includes/LoadingProgress.js" type="text/javascript"></script>
    <div class="top">
    </div>
    <div class="body">
        <div class="padding_lr15px">
            <!-- Column Content | Start -->
            <div class="col_content">
                <div class="top">
                </div>
                <div class="body">
                    <div class="padding_lr30px">     
                    <h1><%=GetGlobalResourceObject("ReminderPage", "RenewalReminder")%></h1>
                    <div class="seperator_15px">
                    </div>
                    
                    <div id="ReminderForm">
                        <!-- Form | Start -->
                            <asp:ValidationSummary ID="vsCarProfile" runat="server" ValidationGroup="reminder"
                                ShowSummary="True" CssClass="errorSummary" HeaderText="<%$ Resources:Menu,RequiredField%>">
                            </asp:ValidationSummary>  
                            <div class="seperator_15px">
                            </div>                             
                            <div>
                                <div class="form_col_1 left">
                                    <span class="form_l name_ico"><%=GetGlobalResourceObject("CarInsurance","FullName") %></span>
                                </div>
                                <div class="form_col_2 left">
                                    <asp:TextBox ID="txtFullName" MaxLength="80" runat="server" class="text" Width="206px"></asp:TextBox>
                                    <span class="indicator">
                                        <asp:RequiredFieldValidator ID="rfvFullName" runat="server" ControlToValidate="txtFullName"
                                            validationErrorCssClass="validationError" ErrorMessage="" ValidationGroup="reminder"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="revFullName" runat="server" ValidationExpression="^([\u0000-\uDFFF']{1,50})$|^([a-zA-Z''-'\s]{1,80})$"
                                            validationErrorCssClass="validationError" ControlToValidate="txtFullName" ErrorMessage=""></asp:RegularExpressionValidator></span>                                
                                </div>
                            </div>                            
                                                       
                            <div class="seperator_form">
                            </div>
                            
                            <div>
                                <div class="form_col_1 left">
                                    <span class="form_l email_ico"><%=GetGlobalResourceObject ("CarInsurance","EmailAddress") %></span>
                                </div>
                                <div class="form_col_2 left">
                                    <asp:TextBox ID="txtEmailAddress" MaxLength="250" runat="server" class="text" Width="206px"></asp:TextBox>
                                    <span class="indicator">
                                        <asp:RequiredFieldValidator ID="rfvEmailAddress" runat="server" ControlToValidate="txtEmailAddress"
                                            Display="Dynamic" validationErrorCssClass="validationError" ErrorMessage="" ValidationGroup="reminder"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="revEmailAddress" runat="server" ControlToValidate="txtEmailAddress"
                                            validationErrorCssClass="validationError" ErrorMessage="" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                            ValidationGroup="reminder"></asp:RegularExpressionValidator>
                                    </span>                                
                                </div>
                            </div>
                           
                            <div class="seperator_form">
                            </div>
                            
                            <div>
                                <div class="form_col_1 left">
                                    <span class="form_l mobile_ico"><%=GetGlobalResourceObject("CarInsurance", "MobileNo")%></span>                                
                                </div>
                                <div class="form_col_2 left">
                                    <uc2:usrMobilePhone ID="txtMobileNo" ValidationGroup="reminder" IsEnabled="true" PhoneNoErrorMessage="Mobile Phone No must be number value."
                                        PhoneNoValidErrorMessage="Mobile phone no is not valid." IsRequired="true" PhoneNoRequireErrorMessage="Require Mobile Phone No."
                                        runat="server" />                                
                                </div>
                            </div>
                            
                            <div class="seperator_form">
                            </div>
                                                        
                            <div>
                                <div class="form_col_1 left">
                                    <span class="form_l date_ico"><%=GetGlobalResourceObject("CarInsurance", "Renewal")%></span>                                
                                </div>
                                <div class="form_col_2 left">
                                    <asp:DropDownList ID="ddlCarMonth" runat="server">
                                        <asp:ListItem Value="-1" Text="<%$Resources:ReminderPage,RenewalMonth %>" />
                                        <asp:ListItem Value="1" Text="<%$Resources:MonthResource,January %>" />
                                        <asp:ListItem Value="2" Text="<%$Resources:MonthResource,February %>" />
                                        <asp:ListItem Value="3" Text="<%$Resources:MonthResource,March %>" />
                                        <asp:ListItem Value="4" Text="<%$Resources:MonthResource,April %>" />
                                        <asp:ListItem Value="5" Text="<%$Resources:MonthResource,May %>" />
                                        <asp:ListItem Value="6" Text="<%$Resources:MonthResource,June %>" />
                                        <asp:ListItem Value="7" Text="<%$Resources:MonthResource,July %>" />
                                        <asp:ListItem Value="8" Text="<%$Resources:MonthResource,August %>" />
                                        <asp:ListItem Value="9" Text="<%$Resources:MonthResource,September %>" />
                                        <asp:ListItem Value="10" Text="<%$Resources:MonthResource,October %>" />
                                        <asp:ListItem Value="11" Text="<%$Resources:MonthResource,November %>" />
                                        <asp:ListItem Value="12" Text="<%$Resources:MonthResource,December %>" />
                                    </asp:DropDownList>
                                    <asp:RequiredFieldValidator validationErrorCssClass="validationError" ID="rfvCarMonth"
                                        runat="server" ControlToValidate="ddlCarMonth" ErrorMessage="" InitialValue="-1"
                                        ValidationGroup="reminder" Display="Dynamic" Text=""></asp:RequiredFieldValidator>                                
                                </div>
                            </div>
                            
                            <div class="seperator_form">
                            </div>      
                                                  
                            <div>
                                <div class="form_col_1 left">
                                &nbsp;
                                </div>
                                <div class="form_col_2 left">
                                      <asp:Label ID="lblSetInsMessage" Text="" Font-Size="12px" ForeColor="Black" Font-Bold="true"
                                            Font-Names="Arial" runat="server"></asp:Label>
                                </div>
                            </div>
                            <div class="seperator_15px">
                            </div>
                            <div>
                                <div class="form_col_1 left">
                                &nbsp;
                                </div>
                                <div class="form_col_2 left">
                                    <asp:Button ID="btnSetReminder" onmousedown="this.className = 'button_submit_mousedown';"
                                        onmouseup="this.className = 'button_submit';" onmouseout="this.className = 'button_submit';"
                                        CssClass="button_submit" OnClientClick="LoadValidationErrorCss();CheckOptionValidationCss();if (Page_ClientValidate('reminder')){this.removeAttribute('onmouseout');this.removeAttribute('onmouseup');this.className = 'button_processing';}"
                                        runat="server" ValidationGroup="reminder" AlternateText="Next" ToolTip="Next"
                                        CausesValidation="true" OnClick="btnSetReminder_Click" />                                
                                </div>
                            </div>
                        <!-- Form | End   -->                     
                        </div>
                    </div>
                </div>
                <div class="bottom">
                </div>
            </div>
            <!-- Column Content | End   -->   
            <!-- Column Right | Start -->
            <div>
                <div class="col_right-white">
                    <div class="top"></div>
                    <div class="body text_center">
                        <%--<img src="/images/public/logo/msig.png" width="165" height="70" alt="MSIG" />--%>
                        <div class="tip">
                            <asp:HyperLink runat="server" ID="hplGetQuote" ToolTip="<%$ Resources:Menu,GetACarInsuranceQuote%>"
                                NavigateUrl="~/car-insurance/car-details.aspx">                         
                            <asp:Image ID="ImgPayment" runat="server" ImageUrl="<%$Resources:ImageResource,PaymentBannerUrl%>"
                                Width="234" Height="188" AlternateText="Payment" />
                            </asp:HyperLink> 
                        </div>
                    </div>
                    <div class="bottom"></div>
                </div>
<%--                <div class="seperator_15px"></div>
                <div class="col_right-white">
                    <div class="top"></div>
                    <div class="body text_center">
                        <div class="tip">
                            <asp:Image ID="callus" runat= "server" ImageUrl="<%$Resources:ImageResource,CallUsUrl%>" 
                            width="234" height="96" AlternateText="Call US" />
                        </div>
                    </div>
                    <div class="bottom"></div>
                </div>--%>
            </div>
            <!-- Column Right | End   -->                     
        </div>
    </div>
    <div class="bottom">
    </div>
</asp:Content>
